package com.yami.shop.bean.event;

import com.yami.shop.bean.model.UserExtension;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 *  用户升级的事件
 * @author lhd
 */
@Data
@AllArgsConstructor
@Builder
public class MeltSendOneSysMsgEvent {
    @NotEmpty(message = "接收方不能为空")
    @Schema(description = "接收方id", required = true)
    private String targetId;

    @Schema(description = "消息类型为默认系统普通消息 RC:InfoNtf和红包消息 S:SRpm")
    private String objectName;

    private String tExtra;//文本
    @Schema(description = "消息内容")
    private String message;//文本

    private Integer IsIncludeSender;//0代表自己不收，1代表自己收 //可以不传

    private String senderId;
}
